// import { _API_Font } from '@/apis/index.js'

export default {
	namespaced: true,
	state: {
		token: 'token',
		fontFaceList: []
	},
	mutations: {
		SAVE_USER_TOKEN(state, token) {
			state.token = token
		}
	},
	actions: {
		getFontFaceList({ state }) {
			// G.$request(_API_Font(), fontFaceList => {
			// 	state.fontFaceList = fontFaceList
			// }).then(({ data: fontFaceList }) => {
			// 	Promise.all(fontFaceList.map(e => uni.loadFontFace({ ...e, global: true })))
			// })
		},
	
	}
}
